import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 实力化一个envent bus
Vue.prototype.$EventBus = new Vue();

// 全局引入axios
import axios from './request'
import VueAxios from  'vue-axios'
Vue.use(VueAxios, axios)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
